#ifndef __NORFLASH_H__
#define __NORFLASH_H__

#include "cpu_io.h"
#include <string.h>

int MX29GL128_norf_Erase(U32 adr);
int MX29GL128_norf_EraseChip(void);
int MX29GL128_norf_Program(U32 adr, const U32 *pBuf, U32 nLen);
int MX29GL128_norf_program_word(U32 n_adr, U32 n_data);
int MX29GL128_norf_Read(U32 adr, void *pBuf, U32 nLen);

#endif

